﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Name="userControl"
	mc:Ignorable="d"
	x:Class="RubricaSentimentale.DataDetails">

	<Grid x:Name="LayoutRoot" Background="Transparent">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="0.748*"/>
			<ColumnDefinition Width="0.252*"/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="172"/>
			<RowDefinition/>
		</Grid.RowDefinitions>
        <ListBox x:Name="Container" Grid.Row="1" Grid.ColumnSpan="2" ItemsSource="{Binding}">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <Grid Background="Transparent">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition/>
                            <ColumnDefinition Width="43"/>
                        </Grid.ColumnDefinitions>
                        <Image Grid.Column="1" Source="/icons/appbar.delete.rest.png" Stretch="Fill" Tap="Image_Tap"/>
                        <TextBlock TextWrapping="Wrap" VerticalAlignment="Center" FontSize="24">
                            <Run Text="{Binding Descrizione}" />
                            <Run Text=":" />
                            <Run Text="{Binding Data}" />
                        </TextBlock>
                    </Grid>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
		<Button Content="OK" x:Name="btnAdd" Grid.Column="1" Margin="8,42,8,38"/>
		<TextBlock Height="36" Margin="8,8,171,0" TextWrapping="Wrap" VerticalAlignment="Top"><Run Text="Data"/><Run Text="("/><Run Text="gg"/><Run Text="/"/><Run Text="mm"/><Run Text="/aaa"/><Run Text="a)"/><Run Text=":"/></TextBlock>
		<TextBox x:Name="tbxData" Margin="0,24,8,76" TextWrapping="Wrap" InputScope="Date"/>
		<TextBlock HorizontalAlignment="Left" Margin="8,84,0,52" TextWrapping="Wrap" Width="124"><Run Text="Descrizione"/><Run Text=":"/></TextBlock>
		<TextBox x:Name="tbxDesc" Margin="0,0,8,0" TextWrapping="Wrap" Height="72" VerticalAlignment="Bottom"/>
	</Grid>
</UserControl>